<div ng-controller="parentCtrl">
    <!--<div ng-show="showLogoClose">-->
    <div id="loHea" style="position: fixed;width: 100%;background: #ffffff;border-bottom: 1px solid #fc9105">
        <div style="position: relative;width: 100%">
            <div class="logo" ng-click="home()">
                <img class="logo1" src="static/2.png">
                <!--<img class="logo2" src="static/3.png" alt="">-->
            </div>
            <div class="logoClose" ng-click="goBack()">&times</div>
        </div>
    </div>
<div style="width: 100%;height: 44px"></div>

<!--&lt;!&ndash;channel list&ndash;&gt;
<div class="channel_list">
    <ul>
        <li ng-repeat="item in navData.columns  track by $index">
            <a ng-click="chanNav(item.columnId)" >{{item.columnName}}
            </a>
        </li>
    </ul>

&lt;!&ndash;login用户未登录&ndash;&gt;
<div id="logi">
    <div class="logTab">
    </div>
    <div ng-if="!isUseLog" class="logTabTex">
        <p class="text-center">
            &lt;!&ndash;ng-href="http://http://172.19.41.34:8080/SSOv2/user/ssoLogin?code=yxapp&redirectUrl=http://localhost:63342/yxapp/sso/setCookie.html&anyUrl=http://localhost:63342/yxapp/index.html?_ijt=b1nvuh3v90eg9u3i2ldiuj944p&isAppType=app"&ndash;&gt;
            <button class="btn btn-primary"><a href="http://172.19.41.34:8080/SSOv2/user/ssoLogin?code=yxapp&redirectUrl=http://localhost:8080/yxapp/sso/setCookie.html&anyUrl=http://localhost:8080/yxapp/index.html?_ijt=b1nvuh3v90eg9u3i2ldiuj944p&isAppType=app">立即登录</a></button>
            <button class="btn btn-danger"><a href="http://172.19.32.122:9081/SSOv2/user/register_app">注册</a></button>
        </p>
    </div>
    &lt;!&ndash;用户已登录&ndash;&gt;
    <div ng-if="isUseLog"  class="logTabTex">
        <p class="text-center">
            <button class="btn btn-primary">
                <img src="" alt="">
        <p>
            <span>{{loginInfor.name}}</span>
        </p>
        </button>
        <button class="btn btn-danger">
            <a href="http://172.19.32.122:9081/SSOv2/user/ssoLogout?code=yxapp&from=http://localhost:63342/yxapp/sso/delCookie.html&isAppType=app">
                退出
            </a>
        </button>
        </p>
    </div>
</div>

</div>jump('/home/'+item.columnId)-->
    <ul class="channelLists">
        <li ng-repeat="item in navData.columns  track by $index" repeat-finish>
            <a ng-click="jump('/home/'+item.columnId)">{{item.columnName}}
            </a>
        </li>
    </ul>
    <div style="height:10px;width:100%;background:#f6f6f6;margin-top: 10px"></div>
    <!--login用户未登录-->
    <div id="logi">
        <div class="" id="sso-active">
            <p class="text-center">
                <button class="btn btns1"><a href="http://59.108.92.239:9081/SSOv2/user/ssoLogin?code=yxapp&redirectUrl=http://59.108.92.239/amucsite/pad/sso/setCookie.html?&anyUrl=http://59.108.92.239/amucsite/pad/index.html&isAppType=app">登录</a></button>
                <button class="btn btns2"><a href="http://59.108.92.239:9081/SSOv2/user/register_app">极速注册</a></button>
            </p>
        </div>
        <!--用户已登录-->
        <div class="" id="sso-inactive">
            <p class="text-center userLogoin">
                <button class="btn userLogoinBtn1">
                    <div class="userPhtons">
                        <img src="static/01.png">
                    </div>
                    <span id="uname"></span>
                </button>
                <button class="btn btn-clear userLogoinBtn2">
                    <a href="http://59.108.92.239:9081/SSOv2/user/ssoLogout?code=yxapp&from=http://59.108.92.239/amucsite/pad/sso/delCookie.html&anyUrl=http://59.108.92.239/amucsite/pad/index.html&isAppType=app">
                    退出账号
                    </a>
                </button>
            </p>
        </div>
    </div>
</div>
<!--</div>-->
</div>

<style>
    .channelLists li a{
       color:#666666;
    }
    .logoClose{
        width: 40px;
        font-size: 33px;
        height: 40px;
        line-height: 20px;
        margin-top: -10px;
        top: 50%;
        position: absolute;
        right: 10%;
        color: #333333;
        font-weight: 300;
    }
    .text-center{
        overflow: hidden;
        padding: 0 15px;
    }
    .btns1,.btns2{
        margin-top:15px;
    }
    .userLogoin{
        margin-top:15px;
    }
    .userLogoin:after{
        display: block;
        content: "";
        clear: both;
    }
    .userLogoin button{
        width: 20%;
        padding: 0;
    }
    .userLogoinBtn1{
        float:left;
    }
    .userLogoinBtn2{
        float:right;
        color:#fc9105;
        font-size:15px;
        margin-top: 5px;
    }
    .userLogoinBtn2 a{
        color:#fc9105;
    }
    .userLogoinBtn1,.userLogoinBtn2{
        background: #ffffff;
    }
    .userPhtons{
        width:32px;
        height:32px;
        border-radius:50% ;
        display: inline-block;
        margin-right:10px;
        overflow: hidden;
    }
    .userLogoinBtn1 img{
        width:100%;
        height:100%;
    }
    .userLogoinBtn1 span{
        top: -10px;
        position: relative;
    }
    .channelLists{
        overflow: hidden;
        padding: 15px 15px 15px 32px;
    }
    .channelLists li{
        padding: 3px 5px;
        width: 28%;
        float: left;
        margin-left: 3%;
        margin-bottom: 3%;
        border-radius: 3px;
        text-align: center;
    }
    .channelLists li a{
        display: inline-block;
    }
    .channelLists li a:active, .channelLists li a:visited{
       color: #FC9105;
    }
    button a,li a{
        width: 100%;
        display: inline-block;
    }
</style>
<script>
   $("#sso-inactive").hide();

   if(doGetCookie('mid_fouNder') != undefined || doGetCookie('mid_fouNder') != null || doGetCookie('mid_fouNder') != ''){
       var mid =doGetCookie('mid_fouNder');
       $('.userPhtons img').attr('src','http://59.108.92.239:8080/app_if/amuc/api/member/getPortrait?uid='+ mid);
   }else{

   }
</script>
